package cn.yunhe.entity;

import lombok.Data;

import java.io.Serializable;

@Data
public class Book implements Serializable {
    private int bookId;
    private String bookName;
    private String bookAuthor;
    private String bookPress;

    public Book() {
    }

    public Book(String bookName, String bookAuthor, String bookPress) {
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPress = bookPress;
    }

    public Book(int bookId, String bookName, String bookAuthor, String bookPress) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPress = bookPress;
    }
}
